QuickTime 4 API Documentation

3D Graphics Programming with QuickDraw 3D 1.5.4

Previous | QD3D Book | Overview | Chapter Contents | Next |

Color Descriptor

Draw regions store color information in a color descriptor:

typedef struct TQ3XColorDescriptor {
    unsigned long       redShift;
    unsigned long       redMask;
    unsigned long       greenShift;
    unsigned long       greenMask;
    unsigned long       blueShift;
    unsigned long       blueMask;
    unsigned long       alphaShift;
    unsigned long       alphaMask;
} TQ3XColorDescriptor;

© 1997 Apple Computer, Inc.

Previous | QD3D Book | Overview | Chapter Contents | Next |